package loppy.dynamics 
{
  import loppy.loppy_internal;
  import loppy.math.Vec2;
  import loppy.utils.ObjectPool;
  
  public class ContactPoint 
  {
    use namespace loppy_internal;
    
    loppy_internal static var pool:ObjectPool = new ObjectPool(ContactPoint);
    
    public var position:Vec2   = new Vec2();
    public var normal  :Vec2   = new Vec2();
    public var tangent :Vec2   = new Vec2();
    public var depth   :Number = 0.0;
    
    public function dispose():ContactPoint
    {
      //do nothing, this function is here for code consistency
      return this;
    }
  }
}